RccEditor: main.o image_extractor.o common.o
	gcc -o RccEditor main.o image_extractor.o common.o
main.o: main.c image_extractor.h common.h
	gcc -g -c main.c
image_extractor.o: image_extractor.c image_extractor.h
	gcc -g -c image_extractor.c
common.o: common.c common.h
	gcc -g -c common.c
clean:
	-rm *.o RccEditor RccEditor.exe out-*.png test/out/*.rcc test/out/*.png
clean-o:
	-rm *.o
clean-exec:
	-rm RccEditor RccEditor.exe
clean-png:
	-rm out-*.png
